package com.sam.im.heiqun.uis.activities;

import android.os.Bundle;
import android.widget.TextView;

import com.sam.im.heiqun.R;
import com.sam.im.heiqun.utils.ToolsUtils;
import com.yuyh.library.uis.activitys.BaseSwipeBackActivity;

import butterknife.BindView;

public class AboutUsActivity extends BaseSwipeBackActivity {

    @BindView(R.id.current_version)
    TextView currentVersion;

    @Override
    protected String getTitleText() {
        return getResources().getString(R.string.about_us);
    }

    @Override
    protected void initViews(Bundle savedInstanceState) {
        String current = ToolsUtils.getVersion(this);
        currentVersion.setText(getResources().getString(R.string.app_name) + current);
    }

    @Override
    public int getContentViewId() {
        return R.layout.activity_about_us;
    }

}
